/**
 * 导航列表数据
 * author Forjune
 */
const menuData = [
  {
    title: '工作台',
    path: '/workBench',
    key: '/workBench',
  },
  {
    title: '设备台账',
    path: '/deviceLedger',
    key: '/deviceLedger',
    chirldren: [
      {
        title: '新建设备台账',
        path: '/deviceLedger/add',
        key: '/deviceLedger/add',
      },
      {
        title: '编辑设备台账',
        path: '/deviceLedger/edit',
        key: '/deviceLedger/edit',
      },
      {
        title: '设备详情',
        path: '/deviceLedger/detail',
      },
    ],
  },
  {
    title: '设备点检',
    path: '/deviceCheck',
    key: '/deviceCheck',
    chirldren: [
      {
        title: '新建点检计划',
        path: '/deviceCheck/add',
        key: '/deviceCheck/add',
      }, 
      {
        title: '编辑点检计划',
        path: '/deviceCheck/edit',
        key: '/deviceCheck/edit',
      },
      {
        title: '点检计划详情',
        path: '/deviceCheck/detail',
        key: '/deviceCheck/detail',
      },
    ],
  },
  {
    title: '设备保养',
    path: '/deviceUpkeep',
    key: '/deviceUpkeep',
    chirldren: [
      {
        title: '新建保养计划',
        path: '/deviceUpkeep/add',
        key: '/deviceUpkeep/add',
      },
      {
        title: '保养计划详情',
        path: '/deviceUpkeep/detail',
        key: '/deviceUpkeep/detail',
      },
      {
        title: '编辑保养计划',
        path: '/deviceUpkeep/edit',
        key: '/deviceUpkeep/edit',
      },
    ],
  },
  {
    title: '设备检定',
    path: '/deviceCali',
    key: '/deviceCali',
    chirldren: [
      {
        title: '新建检定计划',
        path: '/deviceCali/add',
      },
      {
        title: '编辑检定计划',
        path: '/deviceCali/edit',
      },
      {
        title: '检定详情',
        path: '/deviceCali/detail',
      },
    ],
  },
  {
    title: '设备维修',
    path: '/deviceRepair',
    key: '/deviceRepair',
    chirldren: [
      {
        title: '维修详情',
        path: '/deviceRepair/RepairDetails',
      },
      {
        title: '投诉详情',
        path: '/deviceRepair/ComplaintDetails',
      },
      {
        title: '整改详情',
        path: '/deviceRepair/RctificationDetails',
      },
    ],
  },
];

export default menuData;
